import base from './base'
/**
 * 我的学伴页面
 */

export default class testResult extends base {
    // 获取测评结果
  static gettestResult(isInvited, openid, inviteOpenId) {
    let url = `${this.urlMap.zhangyong}/v2/evaluationQuestion/userResult?isInvited=${isInvited}&openId=${openid}&inviteOpenId=${inviteOpenId}`
    return this.get(url)
  }
  // 获取分享时海报数据
  static getPosterInfo(data) {
    let url = `${this.urlMap.haijian}/stuPartner/getWXQR`
    return this.post(url, data)
  }
  // 接受邀请时记录
  static getInvitePost(data) {
    let url = `${this.urlMap.haijian}/studyDataRecord.post`
    return this.post(url, data)
  }
}
